package com.hutianao.gqgl.job.service;

import com.hutianao.gqgl.job.entity.SearchJobEntity;
import com.hutianao.gqgl.menu.entity.SearchMenuEntity;
import com.hutianao.gqgl.mybatis.entity.PtJobEntity;
import com.hutianao.gqgl.mybatis.entity.PtMenuEntity;
import com.hutianao.gqgl.mybatis.entity.PtPostEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PaddingEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PadingRstType;
import com.hutianao.gqgl.mybatis.ztree.ZtreeEntity;
import com.hutianao.gqgl.spring.tag.entity.DictTagEntity;

import java.util.List;

public interface JobService {
    List<ZtreeEntity> queryLeftOrganTree();

    PadingRstType<PtJobEntity> queryPostInfoListByOrgan(SearchJobEntity search, PaddingEntity padding);

    PtJobEntity queryPostInfoById(String dutyId);

    List<DictTagEntity> queryRoleList();

    List<DictTagEntity> queryOrganList();

    void addPostInfo(PtJobEntity ptPostEntity);

    void modifyPostInfo(PtJobEntity ptPostEntity);

    void deletePostById(String dutyIdArray);

    PadingRstType<PtMenuEntity> queryRoleMenuList(SearchMenuEntity searchMenuEntity, PaddingEntity padding);

}
